/**
 * 
 */
package slhs.tempo.pivotTableUtilities;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.BorderFactory;
import javax.swing.JPanel;
import javax.swing.JProgressBar;

/**
 * DataConversionProgressBar.java
 * 
 * @author Swapnil Devikar
 * 
 */
public class DataConversionProgressBar extends JPanel {

    public DataConversionProgressBar() {
	super(new BorderLayout());
	JProgressBar progressBar = new JProgressBar(0, 100);
	progressBar.setString("Calculations in progress...");
	JPanel panel = new JPanel();
	progressBar.setValue(0);
	progressBar.setPreferredSize(new Dimension(400, 50));
	progressBar.setStringPainted(true);
	progressBar.setIndeterminate(true);
	panel.add(progressBar);
	add(panel, BorderLayout.CENTER);
	setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));

    }
}
